package com.tinysand.advert;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

/**
 * 广告投放微服务系统启动入口
 *
 * Created By TINY
 * Create Time 2020/2/15
 **/
@EnableFeignClients   // 启用Feign支持
@EnableCircuitBreaker // 启用断路器Hystrix支持
@EnableEurekaClient   // 标识为Eureka客户端
@EnableJpaAuditing    // 开启JPA审计功能
@SpringBootApplication
public class SponsorApplication {

    public static void main(String[] args) {
        SpringApplication.run(SponsorApplication.class, args);
    }
}
